#include<stdio.h>
#include<math.h>
int main()
{
    double r,h,c,area1,area2,v,V;
    printf("please input r,h:");
    scanf("%lf,%lf",&r,&h);
    c=2*3.14*r;
    area1=3.14*r*r;
    area2=4*3.14*r*r;
    v=(4/3)*3.14*r*r*r;
    V=3.14*r*r*h;
    printf("c=%7.2f,area1=%7.2f,area2=%7.2f,v=%7.2f,V=%7.2f\n",c,area1,area2,v,V);
}